//
//  ViewController.swift
//  YCMediator
//
//  Created by YC on 2017/2/28.
//  Copyright © 2017年 YC. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        let vc = YCMediator.shared.performTarget("Login", action: "viewController", params: nil, shouldCacheTarget: false)
        
        self.navigationController?.pushViewController(vc as! UIViewController, animated: true)
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}

